package Com.amit.Collection;

import java.util.Iterator;

import java.util.Hashtable;
import java.util.Map;
import java.util.TreeMap;

import java.util.Set;

public class Lab11 {

	public static void main(String[] args) {
		
		Hashtable map=new Hashtable();
		
		map.put(101, "amit");
		map.put(102, "amit");
		map.put(102, "anil");
		map.put(9, "amit");
		map.put(103, "amit");
		map.put(103, "amit");
		map.put(105, "anil");
		
		
		
		Set set=map.entrySet();
		
		Iterator itr=set.iterator();
		
		while(itr.hasNext())
		{
			Map.Entry m=(Map.Entry) (itr.next());
			
			System.out.println(m.getKey()+" "+m.getValue());
		}
		
		
		
		
		
		

	}

}
